home *** CD-ROM | disk | FTP | other *** search
- on qTPlay
- global DEBUG, gPcVidSprite
-
- if DEBUG then put "playMovie"
-
- -- attempt to keep the Win95 sound from cutting out -
- -- wait for the slow machines, then stop any other
- -- sound from playing , and return sound control
- -- to the score
- delay 60
- puppetSound 0
-
- set the visible of sprite gPcVidSprite to TRUE
-
- set the movieRate of sprite gPcVidSprite to 1
- end qTPlay
-
- on qTPause
- global DEBUG, gPcVidSprite
- if DEBUG then put "pauseMovie"
- set the movieRate of sprite gPcVidSprite to 0
- end qTPause
-
- on qTHalt
- global qtChan
- --stop the qt movie, if there is one
- set qtCast = the castNum of sprite qtChan
- if ( not ( qtCast = 0 ) ) then
- if ( the castType of cast qtCast = #digitalVideo ) then
- if ( not ( the movieRate of sprite qtChan = 0 ) ) then
- set the movieRate of sprite qtChan to 0
- -- make it invisible
- --set the visible of sprite qtChan to FALSE
- updateStage
- end if -- movieRate
- end if -- castType
- end if -- castNum
- end qTHalt
-